package com.qianfeng.openapi.web.master.mapper;

import com.qianfeng.openapi.web.master.pojo.AppInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author LJF
 * @Date 2020/7/1 8:07
 * @Version 1.0
 */
@Repository
public interface AppInfoMapper {

    int insertAppInfo(AppInfo appInfo);

    int updateAppInfo(AppInfo appInfo);

    int deleteAppInfo(Long id);

    AppInfo getAppInfoById(Long id);

    List<AppInfo> getAllAppInfos();


    void deleteAppInfos(Long[] ids);

    List<AppInfo> selectAppInfoByCondition(@Param("appName") String appName, @Param("state") Integer state);
}